﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<WebPrestamoBiblioteca.Dominio.Lector>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Registro de Lector
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Registro de Lector</h2>
     <% Html.EnableClientValidation(); %>
     <% using (Html.BeginForm()) {%>
     <%: Html.ValidationSummary(true) %>
             <fieldset>
            <legend>Datos para Registro</legend>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.NuDocumento) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.NuDocumento) %>
                <%: Html.ValidationMessageFor(model => model.NuDocumento) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.DeNombre) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.DeNombre) %>
                <%: Html.ValidationMessageFor(model => model.DeNombre) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.DeApellido) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.DeApellido) %>
                <%: Html.ValidationMessageFor(model => model.DeApellido) %>
            </div>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.DeDireccion) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.DeDireccion) %>
                <%: Html.ValidationMessageFor(model => model.DeDireccion) %>
            </div>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.DeDistrito) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.DeDistrito) %>
                <%: Html.ValidationMessageFor(model => model.DeDistrito) %>
            </div>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.DeCorreo) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.DeCorreo) %>
                <%: Html.ValidationMessageFor(model => model.DeCorreo) %>
            </div>
            <p>
                <input type="submit" value="Registrar" />
            </p>
        </fieldset>

    <% } %>

</asp:Content>
